package com.topisv.tms.repository.work;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.topisv.tms.entity.work.WorkOrderNoCascade;

/**
 * 作业订单_DAO
 * @author ch
 *
 */
public abstract interface WorkOrderNoCascadeDao extends PagingAndSortingRepository<WorkOrderNoCascade, Long>, JpaSpecificationExecutor<WorkOrderNoCascade>
{

	@Query("select t from WorkOrderNoCascade t where t.batchCode in ?1")
	List<WorkOrderNoCascade> loadOrderNoCascadeByBatchCode(List<String> batchCodeList);

	
}